﻿using Microsoft.SharePoint.Client;

namespace DeploySources.Helper
{
	/// <summary>
	/// Parameters for Connection Changed to communicate between ViewModels
	/// </summary>
	public class ConnectedParameter
	{
		/// <summary>
		/// Status of the connection
		/// </summary>
		public bool IsConnected { get; set; }
		/// <summary>
		/// SharePoint context
		/// </summary>
		public ClientContext Context { get; set; }
		/// <summary>
		/// Current ConnectionItem
		/// </summary>
		public ConnectionItem Connection { get; set; }
	}
}
